import axios from '@/http/index';
/* 版本列表--待操作、已完成、已评价、升级异常 */
export function selectVmBizTaskInfoDetails(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoDetails',
    method: 'post',
    data: option
  });
}
export function selectVmBizTaskInfoleft(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoleft',
    method: 'post',
    data: option
  });
}
/* 省中心查询列表 */
export function selectTaskInfoProvinceList(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectTaskInfoProvinceList',
    method: 'post',
    data: option
  });
}
/* 省中心导出列表 */
export function selectTaskInfoProvinceExport(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectTaskInfoProvinceExport',
    method: 'post',
    data: option
  });
}
/* 省中心列表-应用管理分组 */
export function selectTaskInfoProvinceListCount(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectTaskInfoProvinceListCount',
    method: 'post',
    data: option
  });
}
/* 版本列表页--应用管理分组 */
export function selectVmBizTaskInfoDetailsCount(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoDetailsCount',
    method: 'post',
    data: option
  });
}
/* 版本列表页--结果填报超时、待执行、执行中、超时未执行*/
export function getNewTaskinfoView(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/getNewTaskinfoView',
    method: 'post',
    data: option
  });
}
export function selectVmBizTaskInfoRight(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoRight',
    method: 'post',
    data: option
  });
}
/* 版本详情 */
export function selectVmBizInfoById(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizInfoById',
    method: 'post',
    data: option
  });
}
/* 流程记录 */
export function pubflowlist(option: string) {
  return axios({
    url: '/monitor/count/pubflowlist',
    method: 'post',
    data: option
  });
}
/* 版本任务详情 */
export function selectVmBizTaskInfoById(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoById',
    method: 'post',
    data: option
  });
}
/* 版本导出获取文件名--左侧 */
export function Vmexport(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/export',
    method: 'post',
    data: option
  });
}
export function selectVmBizTaskInfoleftExport(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoleftExport',
    method: 'post',
    data: option
  });
}
/* 版本导出获取文件名--右侧 */
export function getNewTaskinfoViewExport(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/getNewTaskinfoViewExport',
    method: 'post',
    data: option
  });
}
export function selectVmBizTaskInfoRightExport(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizTaskInfoRightExport',
    method: 'post',
    data: option
  });
}
/* 导出文件 */
export function download(option: string) {
  return axios({
    url: '/monitor/count/download',
    method: 'get',
    params: option,
    responseType: 'blob'
  });
}
